FileExtensionsSettings Class [IIS 7 and higher]
Configures the filtering of file extensions in requests.
Syntax
class FileExtensionsSettings : EmbeddedObject
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the FileExtensionsSettings class.
Name |
Description |
---|---|
AllowUnlisted |
A read/write boolean value. true if file extensions not listed in the FileExtensions property are allowed in requests; otherwise, false. The default is true. |
ApplyToWebDAV |
A read/write boolean value. true if the AllowUnlisted and FileExtensions properties are applied to WebDAV requests; otherwise, false. The default is true. |
FileExtensions |
An array of read/write FileExtensionElement values that specifies file extensions that are allowed or denied. |
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are contained in the FileExtensions property of the RequestFilteringSection class. In the ApplicationHost.config file, this class represents the <fileExtensions> element of the <requestFiltering> section
Inheritance Hierarchy
FileExtensionsSettings
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |
See Also
Reference
EmbeddedObject Class [IIS 7 and higher]